package org.n.shop.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.n.shop.domain.Do.SelectOrderDo;
import org.n.shop.domain.entity.Order;
import org.n.shop.domain.entity.OrderDetail;

import java.util.List;

@Mapper
public interface OrderMapper {
    int insertOrder(Order order);
    int getLastOrderId();
    SelectOrderDo selectOrder(@Param("orderId") int orderId);
}
